<template>
  <div><button @click="fn">按钮</button></div>
</template>

<script>
import { setToken } from '@/utils/auth'
export default {
  name: 'hm-login',
  data() {
    return {}
  },
  methods: {
    fn() {
      setToken(1)
    }
  }
}
</script>

<style scoped></style>
